﻿Public Class frmPayments
    Public Sub LoadForm() Handles Me.Load
        dgPayments.Width = ClientSize.Width - (2 * dgPayments.Left)
        dgPayments.Height = ClientSize.Height - (2 * dgPayments.Top)
    End Sub
    Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click
        Hide()
    End Sub
End Class